|
|
|
|
|
|
|
Figure B.13
If you are creating an ActiveX control for Internet
Explorer, you need to create an Internet installation package. |
|
|
|
|
|
|
|
|
For users to install your ActiveX component, they also need to have all the necessary Visual Basic DLL files. By default, the wizard creates a package that tells the browser to download VB runtime files from a Microsoft Web site. In other words, when users hit your Web site, your ActiveX component is copied from the CAB file on the site, but the remaining DLLs come from Microsoft. |
|
|
|
|
|
|
|
|
If your Internet connection is unreliable, slow, or not connected all the time, you may want to include the Visual Basic runtime files in your CAB file. You can also specify multiple smaller CAB files on your own server for speed purposes. You can select these options in the Components dialog box, as pictured in Figure B.14. |
|
|
|
|
|
|
|
|
Figure B.14
You can specify the download location for a file by
single-clicking it and entering the URL or network path. |
|
|
|
|
|
|
|
|
If you are creating a package for an ActiveX component that will be used on a Web page, you need to make sure it is marked Safe for Scripting and Initialization, as shown in Figure B.15. |
|
|
|
|
|